package com.label.Model.Do;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.util.Date;

@TableName("entity_tag")
@Data
public class Entity {

    @TableId(value = "id",type = IdType.ASSIGN_UUID)
    private String id;

    @TableField(value = "activetime",fill = FieldFill.INSERT_UPDATE)
    private Date activeTime;

    @TableField(value = "entity_type")
    private String entityType;

    @TableField(value = "entity_id")
    private String entityId;

    @TableField(value = "tag_id")
    private String tagId;

    @TableField(value = "tag_value")
    private Integer tagValue;

    @TableField(value = "createtime",fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(exist = false)
    private TagInfo tagInfo;

}
